package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the CERTIFICATE_ASSIST database table.
 * 
 */
@Entity
@Table(name="CERTIFICATE_ASSIST")
@NamedQuery(name="CertificateAssist.findAll", query="SELECT c FROM CertificateAssist c")
public class CertificateAssist implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CERTIFICATE_ASSIST_CERASSISTID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CERTIFICATE_ASSIST_CERASSISTID_GENERATOR")
	@Column(name="CERASSIST_ID")
	private long cerassistId;

	@Column(name="CERASSIST_CLOSE")
	private BigDecimal cerassistClose;

	@Column(name="CERASSIST_CREATORDATE")
	private Timestamp cerassistCreatordate;

	@Column(name="CERASSIST_PERSON")
	private String cerassistPerson;

	@Column(name="CERASSIST_UPDATEDATE")
	private Timestamp cerassistUpdatedate;

	@Column(name="SYSTEM_TYPE")
	private String systemType;

	@Column(name="USE_TYPE")
	private String useType;

	//bi-directional many-to-one association to Certificate
	@ManyToOne
	@JoinColumn(name="CERTI_ID")
	private Certificate certificate;

	public CertificateAssist() {
	}

	public long getCerassistId() {
		return this.cerassistId;
	}

	public void setCerassistId(long cerassistId) {
		this.cerassistId = cerassistId;
	}

	public BigDecimal getCerassistClose() {
		return this.cerassistClose;
	}

	public void setCerassistClose(BigDecimal cerassistClose) {
		this.cerassistClose = cerassistClose;
	}

	public Timestamp getCerassistCreatordate() {
		return this.cerassistCreatordate;
	}

	public void setCerassistCreatordate(Timestamp cerassistCreatordate) {
		this.cerassistCreatordate = cerassistCreatordate;
	}

	public String getCerassistPerson() {
		return this.cerassistPerson;
	}

	public void setCerassistPerson(String cerassistPerson) {
		this.cerassistPerson = cerassistPerson;
	}

	public Timestamp getCerassistUpdatedate() {
		return this.cerassistUpdatedate;
	}

	public void setCerassistUpdatedate(Timestamp cerassistUpdatedate) {
		this.cerassistUpdatedate = cerassistUpdatedate;
	}

	public String getSystemType() {
		return this.systemType;
	}

	public void setSystemType(String systemType) {
		this.systemType = systemType;
	}

	public String getUseType() {
		return this.useType;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}

	public Certificate getCertificate() {
		return this.certificate;
	}

	public void setCertificate(Certificate certificate) {
		this.certificate = certificate;
	}

}